Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TT-1842] [TT-1608] Parrot Server #1595

Merged
merged 33 commits into from
Jan 24, 2025
Merged

[TT-1842] [TT-1608] Parrot Server #1595

merged 33 commits into from
Jan 24, 2025

Conversation

kalverra
Copy link
Collaborator

@kalverra kalverra commented Jan 23, 2025

Adds a new, generalized and highly configurable Parrotserver to replace our current Mockserver/Killgrave mishmash.

  • Is super simple to use
  • Can be used locally and remotely
  • Has ability to easily record all calls made to it
  • AMD64 and ARM64 compatible

Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes include updating Go versions for setup actions, adding a new workflow for Parrotserver release, and introducing a new tool called Parrot in the linting process. These updates ensure the use of the latest Go version for better performance and security, automate the release process of Parrotserver, and maintain code quality with the addition of Parrot in the linting tools.

What

  • .github/workflows/framework-golden-tests.yml
    • Updated actions/setup-go to v5 and Go version to 1.23 for test jobs.
  • .github/workflows/framework.yml
    • Updated actions/setup-go to v5 and Go version to 1.23 for framework-component-tests.
  • .github/workflows/lint.yaml
    • Updated Go version to 1.23.3 for the Clean go mods job.
    • Added a new tool, Parrot, in the matrix for the Linting job.
  • .github/workflows/parrotserver-release.yml
    • Added a new workflow file for automating Parrotserver releases.
  • .github/workflows/rc-breaking-changes.yaml
    • Updated actions/setup-go to v5 and Go version to 1.23 for breaking changes checks.
  • .github/workflows/release-go-module.yml
    • Updated Go version to 1.23 for the release_binaries job.
  • .github/workflows/test.yaml
    • Added Parrot as a new project in the unit test matrix.
  • .gitignore
    • Added ignore rules for Parrot's JSON and log files.
  • parrot/.dockerignore, parrot/.goreleaser.yaml, parrot/Dockerfile, parrot/Makefile, parrot/README.md, parrot/cmd/main.go, parrot/errors.go, parrot/examples_test.go, parrot/go.mod, parrot/go.sum, parrot/parrot.go, parrot/parrot_test.go, parrot/recorder.go, parrot/recorder_test.go
    • Introduced Parrot, a new tool, with its configurations, Dockerfile, documentation, main executable, error handling, tests, and dependencies.

@kalverra kalverra changed the title Parrot Server [TT-1608] Parrot Server Jan 23, 2025
parrot/recorder.go Outdated Show resolved Hide resolved
parrot/recorder_test.go Show resolved Hide resolved
parrot/examples_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@lukaszcl lukaszcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Good job @kalverra!

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube

@kalverra kalverra changed the title [TT-1608] Parrot Server [TT-1842] [TT-1608] Parrot Server Jan 24, 2025
@kalverra kalverra merged commit 221d260 into main Jan 24, 2025
57 of 61 checks passed
@kalverra kalverra deleted the parrotServer branch January 24, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants